<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<title>添加文章</title>
	<css file='__PUBLIC__/css/arc.css'/>
	<jquery/>
</head>
<body>
	 <form action="{|U('addarc')}" method="post">
        <if value="$hd.get.cid">
            <input type="hidden" name="cid" value="{$hd.get.cid}"/>
        </if>
        <h2 class='arc_tit'>发表文章</h2>
        <div class='arc_setting'>
            <table class="table1">
                <tr>
                    <td widtd='10%'>标题</td>
                    <td widtd='88%'>
                        <input type="text" class="input1" name="title"/>
                        <span class="desc">文章标题不能超过30个字</span>
                    </td>
                </tr>
                <tr>
                    <th>属性</th>
                    <td>
                    <list from="$flag" name="f">
                        <input type="checkbox" name="flag[]" value="{$f.flgname}"/> {$f.flgname}  &nbsp;&nbsp;&nbsp;
                    </list>
                    </td>
                </tr>
            <if value="!$hd.get.cid">
                <tr>
                    <td>栏目选择</td>
                    <td>
                        <!-- <div class='choise_category'>
                            <ul>
                                <list from="$category" name="$n">
                                    <li>
                                        <a href='javascript' name='{$n.cid}'>{$n.html}{$n.catname}</a>
                                    </li>
                                </list>
                            </ul>
                        </div> -->
                       	<select name="cid">
                       		<option value="选择栏目">选择栏目</option>
                    	<list from="$category" name="$n">
                        	<option value="{$n.cid}">{$n.html}{$n.catname}</option>
                    	</list>
                     	</select>
                        <span class="desc">栏目标题为必选</span>
                    </td>
                </tr>
            </if>
                <tr>
                   	<td>关键字</td>
                    <td>
	                    <input type="text" class="input1" name="keywords"/>
	                    <span class="desc">文章标题不能超过30个字</span>
                    </td>
                </tr>
                <tr>
                   	<td>缩略图</td>
                    <td>
                    <upload name="thumbimg"/>
                    </td>
                </tr>
                <tr>
                 	<td>描述</td>
                	<td>
                    	<textarea class="textarea1" name="description"></textarea>
                    </td>
                </tr>
                <tr>
                    <td>内容</td>
                    <td>
                     	<keditor name="content" width='600' height='300'/>
                    </td>
                </tr>
                <tr>
                    <td>点击数</td>
                    <td>
                       	<input type="text" class='input1' name="click" value="100"/>
                    </td>
                </tr>
            </table>
        </div>
        <div class='submit_wrap'>
           	<input type="submit" class="bt1" value="发表"/>
        </div>
    </form>
</body>
</html>